package com.chenfwind.bookclub.bean;

import com.chenfwind.bookclub.R;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by mufeng on 2016/4/22.
 */
public class Info implements Serializable{

    private static final long serialVersionUID = -1646251053606668187L;
    private double latitude; //经度
    private double longitude; //维度
    private int imgId;    //图片id
    private String name;   //地点名称
    private String distance; //距离
    private int zan;      //

    public static List<Info> infos = new ArrayList<Info>();

    static{
        infos.add(new Info(22.366081,113.548158, R.mipmap.icon_openmap_focuse_mark, "英伦贵族小旅馆",
                "距离209米", 1456));
        infos.add(new Info(22.350000,113.548158, R.mipmap.icon_openmap_focuse_mark, "沙井国际洗浴会所",
                "距离897米", 456));
        infos.add(new Info(22.350000,113.538158, R.mipmap.icon_openmap_focuse_mark, "五环服装城",
                "距离249米", 1456));
        infos.add(new Info(22.360000,113.538158, R.mipmap.icon_openmap_focuse_mark, "老米家泡馍小炒",
                "距离679米", 1456));
    }

    public Info(double latitude, double longitude, int imgId, String distance, String name, int zan) {
        this.latitude = latitude;
        this.longitude = longitude;
        this.imgId = imgId;
        this.distance = distance;
        this.name = name;
        this.zan = zan;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public int getImgId() {
        return imgId;
    }

    public void setImgId(int imgId) {
        this.imgId = imgId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public int getZan() {
        return zan;
    }

    public void setZan(int zan) {
        this.zan = zan;
    }
}
